<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page  isELIgnored="false"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>安德泰后台管理登录</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/bootstrap.min.css" />
	<script src="<%=request.getContextPath()%>/assets/js/jquery-1.10.2.js" type="text/javascript"></script>
    <link href="<%=request.getContextPath()%>/assets/css/font-awesome.css" rel="stylesheet" />
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <link href='css/login.css' rel='stylesheet' type='text/css' />
	</head>
  
  <body>
<div class="container">
        <div class="row text-center " style="padding-top:100px;">
            <div class="col-md-12">
                <div class="big-title"><span>痛点网络</span></div>
                <div class="little-title"><span>连接医疗资源和服务平台</span></div>
            </div>
        </div>
         <div class="row ">
               
                <div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3 col-xs-10 col-xs-offset-1">
                           
                            <div class="panel-body">
                                <form role="form" action="public/login" method="post">
                                    <hr />
                                    
                                       <br />
                                     <p id="errorInfo" style="display:inline">
										<c:choose>
											<c:when test="${empty errorInfo || errorInfo == null}">
												<h5>输入管理员信息登录</h5>   
                                            </c:when>
												<c:otherwise>
												${errorInfo}
                                                 </c:otherwise>
										</c:choose>
									</p>
                                     <div class="form-group input-group">
                                            <span class="input-group-addon"><i class="fa fa-tag"  ></i></span>
                                            <input type="text" class="form-control" placeholder="Your Username " name="name"/>
                                        </div>
                                                                              <div class="form-group input-group">
                                            <span class="input-group-addon"><i class="fa fa-lock"  ></i></span>
                                            <input type="password" class="form-control"  placeholder="Your Password" name="passwd"/>
                                        </div>
                                     <input type="submit" class="btn btn-primary " value="登录" />
                                    <hr />
                                   </form>
                            </div>
                           
                        </div>
                
                
        </div>
    </div>

  </body>
</html>